package entity;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="DEPT")
public class Dept implements Serializable{
	@Id
	@Column(name="NO")
    private int no;
	@Column(name="NAME")
    private String name;
	@Column(name="PASSWORD")
    private String password;
	public Dept() {
		super();
	}
	public Dept(int no, String name, String password) {
		super();
		this.no = no;
		this.name = name;
		this.password = password;
	}
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setpPssword(String password) {
		this.password = password;
	}
}
